<div id = "children-list-<?=$this->pid?>">
<div>
<?php
	$auth = Zend_Auth::getInstance(); 
    if ($auth->hasIdentity())
    	$u = 1;
    else
    	$u = 0;
    foreach ($this->cList as $c) :
?>
    <div class="comment-level-1" style="width:80% ;float: right " id = "comment-box-<?= $c['id'];?>">
    	#<?= $c['id'];?>
    		(<?echo  $c['number_of_children'];?>child)
    	
    	<input style="float: right" type ="button" value="SetRating" id="rating-comment-button-<?=$c['id']?>-<?=$u?>"/>
    	<select style="float: right" id="rating-<?= $c['id'];?>">	
    		<?for($i=1;$i<=10;$i++) :?>
    			<option style="float: right"value="<?=$i?>" ><?=$i?></option>
    		<?endfor ?>
    	</select>
    	<?//= $this->form->rating?>
    		<input style="float: right" type ="button" value="Delete" id="delete-comment-button-<?= $c['id'];?>"/>
    		<input style="float: right" type ="button" value="Spam" id="spam-comment-button-<?= $c['id'];?>"/>
    		<? if($c['reply_to']) echo "Reply to :".$c['reply_to'];?>
    	<br/><br/>
    	<?=t(13) ?>:<?= $c['title'];?><br/>
    	
    	<?=t(606) ?>:
    	<?=$c['comment_text'] ?><br/>
    
    	<?=t(608) ?>: 
    	<?=$c['content_type'] ?> in language <?=$c['language'] ?>
    	
    	<?if($c['number_of_children']>0):?>
    		<input style="float: left" type="button" value="Plus" id="plus-<?=$c['id'];?>" name="plus"/>
    	<?endif ?>
    	<input style="float: right" type="submit" value="Reply" id="reply-<?= $c['id'];?>-0-<?=$c['language'] ?>" name="reply"/>
	</div>	
<?endforeach ?>
</div>
<div style="width:100%;float: right " id = "paging_children_<?=$c['pid'] ?>">
<?= $this->paginationControl($this->paginator, 'Sliding', 'en/index/my_children_pagination_control.phtml', array("pid"=>$this->pid)); ?>
</div>
</div>